package cn.kgc.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

//@ApiModel(value = "用户实体类")
public class ItripUser {
  //@ApiModelProperty(value = "主键")
  private long id;//主键
  //@ApiModelProperty(value = "账号",example = "邮箱或者手机号",required = true)
  private String userCode;//若是第三方登录，系统将自动生成唯一账号；自注册用户则为邮箱或者手机号
  //@ApiModelProperty(value = "密码",required = true)
  private String userPassword;//若是第三方登录，系统将自动生成唯一密码；自注册用户则为自定义密码
  //@ApiModelProperty(value = "用户类型",example = "（标识：0 自注册用户 1 微信登录 2 QQ登录 3 微博登录）")
  private long userType;//用户类型（标识：0 自注册用户 1 微信登录 2 QQ登录 3 微博登录）
  //@ApiModelProperty(value = "平台ID",example = "（根据不同登录用户，进行相应存入：自注册用户主键ID、微信ID、QQID、微博ID）")
  private long flatId;//平台ID（根据不同登录用户，进行相应存入：自注册用户主键ID、微信ID、QQID、微博ID）
  //@ApiModelProperty(value = "用户昵称",required = true)
  private String userName;//用户昵称
  //@ApiModelProperty(value = "微信号")
  private String weChat;//微信号
  //@ApiModelProperty(value = "qq账号")
  private String qq;//qq账号
  //@ApiModelProperty(value = "微博账号")
  private String weibo;//微博账号
  //@ApiModelProperty(value = "百度账号")
  private String baidu;//百度账号
  //@ApiModelProperty(value = "创建时间")
  private Date creationDate;//
  //@ApiModelProperty(value = "创建者ID主键")
  private long createdBy;//
  //@ApiModelProperty(value = "修改时间")
  private Date modifyDate;//
  //@ApiModelProperty(value = "修改者ID主键")
  private long modifiedBy;//
  //@ApiModelProperty(value = "是否激活",example = "(0 false，1 true,默认是0)")
  private long activated;//是否激活,(0 false，1 true,默认是0)


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }


  public String getUserPassword() {
    return userPassword;
  }

  public void setUserPassword(String userPassword) {
    this.userPassword = userPassword;
  }


  public long getUserType() {
    return userType;
  }

  public void setUserType(long userType) {
    this.userType = userType;
  }


  public long getFlatId() {
    return flatId;
  }

  public void setFlatId(long flatId) {
    this.flatId = flatId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getWeChat() {
    return weChat;
  }

  public void setWeChat(String weChat) {
    this.weChat = weChat;
  }


  public String getQq() {
    return qq;
  }

  public void setQq(String qq) {
    this.qq = qq;
  }


  public String getWeibo() {
    return weibo;
  }

  public void setWeibo(String weibo) {
    this.weibo = weibo;
  }


  public String getBaidu() {
    return baidu;
  }

  public void setBaidu(String baidu) {
    this.baidu = baidu;
  }


  public Date getCreationDate() {
    return creationDate;
  }

  public void setCreationDate(Date creationDate) {
    this.creationDate = creationDate;
  }


  public long getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(long createdBy) {
    this.createdBy = createdBy;
  }


  public Date getModifyDate() {
    return modifyDate;
  }

  public void setModifyDate(Date modifyDate) {
    this.modifyDate = modifyDate;
  }


  public long getModifiedBy() {
    return modifiedBy;
  }

  public void setModifiedBy(long modifiedBy) {
    this.modifiedBy = modifiedBy;
  }


  public long getActivated() {
    return activated;
  }

  public void setActivated(long activated) {
    this.activated = activated;
  }

}
